package TCP;
import java.util.*;
import java.net.*;
public class HelloClient {
    public static void main(String[] args) throws Exception{
        Socket client =new Socket("localhost",9999);
        Scanner scanner=new Scanner(client.getInputStream());
        if(scanner.hasNext()){
            System.out.println("[HelloClient]"+scanner.next());
        }
        client.shutdownInput();
        client.close();
    }
}
